//
module.exports = {
  publicPath: process.env.NODE_ENV,
  devServer: {
    proxy: {
      '/api': {
        target: 'http://172.24.10.175/workout/api.php',
        changeOrigin: true,
        pathRewrite: {
          '^/api': '/'
        }
      },
      '/uploads': {
        target: 'http://172.24.10.175/workout/Uploads',
        changeOrigin: true,
        pathRewrite: {
          '^/uploads': '/'
        }
      }
    }
  }

}
